'pci_power_mgmt': int,
'xen_platform_pci': int,
"gfx_passthru": int,
+ 'description': str,
}
# Xen API console 'other_config' keys.
self['platform']['xen_platform_pci'] = 1
if 'vpt_align' not in self['platform']:
self['platform']['vpt_align'] = 1
+ if 'description' not in self['platform']:
+ self['platform']['description'] = ''
if 'loader' not in self['platform']:
# Old configs may have hvmloader set as PV_kernel param
if self.has_key('PV_kernel') and self['PV_kernel'] != '':
fn=set_value, default='',
use="Name of USB device to add?")
+gopts.var('description', val='NAME',
+ fn=set_value, default='',
+ use="Description of a domain")
+
gopts.var('guest_os_type', val='NAME',
fn=set_value, default='default',
use="Guest OS type running in HVM")
'guest_os_type', 'hap', 'opengl', 'cpuid', 'cpuid_check',
'viridian', 'xen_extended_power_mgmt', 'pci_msitranslate',
'vpt_align', 'pci_power_mgmt', 'xen_platform_pci',
- 'gfx_passthru' ]
+ 'gfx_passthru', 'description' ]
for a in args:
if a in vals.__dict__ and vals.__dict__[a] is not None: